package com.studio701.carguard.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xjc
 * @since 2022-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("help_answer")
@ApiModel(value="HelpAnswer对象", description="")
public class HelpAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论时间")
    @TableId("co_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonProperty(value = "coTime")
    private LocalDateTime coTime;

    @ApiModelProperty(value = "评论内容")
    @TableField("co_words")
    private String coWords;

    @ApiModelProperty(value = "评论被点赞数")
    @TableField("co_like")
    private Integer coLike;

    @ApiModelProperty(value = "问答id")
    @TableField("q_id")
    private Integer qId;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;


}
